dark audio commands  


///////////////////////////////////////////////////////mp3commands///////////////////////////////////////////




  LOAD MP3 "filename",id,[buffer]

    PLAY MP3 id

    STOP MP3 id

    PAUSE MP3 id

    RESUME MP3 id

    VOCALCUT MP3 id,bool on or off

    MIX CHANNELS MP3 id,leftmix,rightmix  between 0 and 100

    FADE IN MP3 id,length // in seconds

    FADE IN M MP3 id , length // milliseconds

    FADE OUT MP3 id ,length //seconds

    FADE OUT M MP3 id, length //milliseconds 

    SEEK MP3 id , position //secs

    SEEK M MP3 id , position //milli

    SET VOLUME MP3 id, left vol , right vol // 0 to 100

    CLOSE MP3 = not used any more 

    IS VBR MP3 id

   int =  GET LENGTH MP3(id) //seconds

   int = GET POSITION MP3(id) //seconds

   INT = GET S RATE MP3(id) //sample rate

   int = GET B RATE MP3(id) //current bit rate

   bool =  EXIST MP3(id)

    int = GET RIGHT VU MP3(id) returns current volume in sample between 0     and 100, great for vu meters 

    int = GET LEFT VU MP3(id) as above

    bool = IS PLAYING MP3(id)

   bool = IS PAUSED MP3(id)

    bool = IS STOPPED MP3(id)

    PLAY LOOP MP3 id , start pos , end pos , number of times

    SET SAMPLE VOLUME MP3 id , left vol ,right vol

    SET SFX MP3  id ,on or of, delay (max 1000),input gain, echo gain , output gain.

    SETEQ MP3 id, state on or of ,band1 ,band2 ,band3 ,band4 ,band5 ,band6 ,band7 ,band8 ,band9 ,band10


/////////////////////////////////////////////////////////midi commands//////////////////////////////////////////////


LOAD MIDI "filename",id

PLAY MIDI id

STOP MIDI id

PAUSE MIDI id

RESUME MIDI id

SET VOLUME MIDI id , int volume 

REPEAT MIDI id , bool state 

SET TEMPO MIDI id , tempo 

int = GET LENGTH MIDI( id )

int = GET EXIST MIDI(id)

int = GET IS PAUSED MIDI(id)

int = GET IS PLAYING MIDI(id)

int = GET IS STOPPED MIDI(id)






